package com.itheima.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

//TODO:添加配置类注解
//TODO:设置扫描controller与config的包路径
//TODO:开启SpringMVC的注解驱动
@Configuration
@EnableWebMvc
@ComponentScan({"com.itheima.controller","com.itheima.config"})
public class SpringMvcConfig {

}
